package com.fire.control.system.support.protocol.management;

import java.util.List;

import com.fire.control.system.entity.Company;
import com.fire.control.system.entity.User;
import com.fire.control.system.support.protocol.comman.RequestProtocol;

/**
 * @author liuxincheng
 * @ClassName: CompanyRequestProtocol
 * @Description: TODO(单位请求协议)
 * @date 2017年5月10日 上午9:17:20
 */
public class ManagementRequestProtocol extends RequestProtocol {

	private static final long serialVersionUID = 1L;

	/**
	 * 页面请求传入的Id
	 */
	private List<String> id;

	private User user;
	/**
	 * 页面请求实体
	 */
	private Company company;

	private String companyId;
	
	
	/****************** 使用单位与制造单位传入参数 ***********************/
	// 机构类型
	private String companyType;

	// 设备类型
	private String deviceType;
	// 输入字符串
	private String inputStr;

	private String enable;
	private int page;
	private int size;

	private String loginName;
	
	private List<String> companyIds;
	
	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}


	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getInputStr() {
		return inputStr;
	}

	public void setInputStr(String inputStr) {
		this.inputStr = inputStr;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCompanyType() {
		return companyType;
	}

	public void setCompanyType(String companyType) {
		this.companyType = companyType;
	}

	public String getEnable() {
		return enable;
	}

	public void setEnable(String enable) {
		this.enable = enable;
	}

	public List<String> getId() {
		return id;
	}

	public void setId(List<String> id) {
		this.id = id;
	}

	public List<String> getCompanyIds() {
		return companyIds;
	}

	public void setCompanyIds(List<String> companyIds) {
		this.companyIds = companyIds;
	}

}
